package com.elvish.userservice.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.elvish.userapi.entity.User;
import com.elvish.userapi.service.UserService;

@Service(interfaceClass = UserService.class)
public class UserServiceImpl implements UserService {

    @Override
    public User getUserList() {
        User user = new User();
        user.setAge(12);
        user.setId(123);
        user.setName("张三");
        return user;
    }
}
